#include "BulletCollision/CollisionShapes/btConeShape.h"
#ifdef __cplusplus
extern "C" {
#endif
btConeShapeZ* bullet_NewbtConeShapeZ(double radius,double height){
	btScalar c_arg_radius=radius;
	btScalar c_arg_height=height;
	btConeShapeZ* wrap_out = new btConeShapeZ(c_arg_radius,c_arg_height);
	return wrap_out;
}

btConeShapeX* bullet_NewbtConeShapeX(double radius,double height){
	btScalar c_arg_radius=radius;
	btScalar c_arg_height=height;
	btConeShapeX* wrap_out = new btConeShapeX(c_arg_radius,c_arg_height);
	return wrap_out;
}

btConeShapeData* bullet_NewbtConeShapeData(){
	btConeShapeData* wrap_out = new btConeShapeData();
	return wrap_out;
}

btConvexInternalShapeData* bullet_btConeShapeData_GetFieldOfM_convexInternalShapeData(btConeShapeData* c_this){
	return (btConvexInternalShapeData*)(&c_this->m_convexInternalShapeData);
}

char** bullet_btConeShapeData_GetFieldOfM_padding(btConeShapeData* c_this){
	return (char**)(&c_this->m_padding);
}

int bullet_btConeShapeData_GetFieldOfM_upIndex(btConeShapeData* c_this){
	return (int)(c_this->m_upIndex);
}

btConeShape* bullet_NewbtConeShape(double radius,double height){
	btScalar c_arg_radius=radius;
	btScalar c_arg_height=height;
	btConeShape* wrap_out = new btConeShape(c_arg_radius,c_arg_height);
	return wrap_out;
}

int bullet_btConeShape_getConeUpIndex(btConeShape* c_this){
	int c_out = c_this->getConeUpIndex();
	int wrap_out = (c_out);
	return wrap_out;
}

double bullet_btConeShape_getHeight(btConeShape* c_this){
	btScalar c_out = c_this->getHeight();
	double wrap_out = (c_out);
	return wrap_out;
}

double bullet_btConeShape_getRadius(btConeShape* c_this){
	btScalar c_out = c_this->getRadius();
	double wrap_out = (c_out);
	return wrap_out;
}

void bullet_btConeShape_setConeUpIndex(btConeShape* c_this,int upIndex){
	int c_arg_upIndex=upIndex;
	c_this->setConeUpIndex(c_arg_upIndex);
}

void bullet_btConeShape_setHeight(btConeShape* c_this,double height){
	btScalar const c_arg_height=height;
	c_this->setHeight(c_arg_height);
}

void bullet_btConeShape_setRadius(btConeShape* c_this,double radius){
	btScalar const c_arg_radius=radius;
	c_this->setRadius(c_arg_radius);
}

#ifdef __cplusplus
}
#endif
